package main

import (
	"fmt"
	"gitee.com/xuxinzhi2206/corehub/grpc"
	"gitee.com/xuxinzhi2206/corehub/viper"
	grpc2 "google.golang.org/grpc"
	"rpc/model"
)

func main() {
	err := viper.GetViper("./dev.yaml")
	if err != nil {
		panic(err)
	}
	model.Migrate()
	fmt.Println("111")
	err = grpc.RegisterRPC(func(s *grpc2.Server) {

	})
	if err != nil {
		panic(err)
	}
}
